package com.dy.util;

import com.google.common.hash.BloomFilter;
import com.google.common.hash.Funnels;

import java.nio.charset.Charset;

/**
 * @Auther: dy
 * @Date: 2022/4/24 - 04 - 24 - 19:10
 * @Description: com.dy.util
 * @version: 1.0
 */
public class ToolUtil {
    public static final Long REDIS_MIN_TIME = 50l;
    public static BloomFilter bloomFilter;
    static {
        bloomFilter = BloomFilter.create(Funnels.stringFunnel(Charset.defaultCharset()),1000000,0.01);
        bloomFilter.put("A-001");
        bloomFilter.put("A-002");
    }
}
